package com.gdsdxy.bookshop.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@ApiModel("收货地址表")
@TableName(value = "address")
@Data
@AllArgsConstructor
@NoArgsConstructor

public class Address {
    @TableId(type = IdType.AUTO)
    @ApiModelProperty("地址编号")
    private Integer addressid;
    @ApiModelProperty("用户id")
    private Integer uid;
    @ApiModelProperty("用户名称")
    private String name;
    @ApiModelProperty("用户电话")
    private Integer phone;
    @ApiModelProperty("省")
    private String province;
    @ApiModelProperty("市")
    private String city;
    @ApiModelProperty("区")
    private String area;
    @ApiModelProperty("街道")
    private String street;
    @ApiModelProperty("详细")
    private String live;
    @ApiModelProperty("地址标签")
    private String tag;
}

